enum PhyObjectType {
    Player = 1,
    Terrian = 2,
}

class PhyObject {
    public static Create(type: PhyObjectType): PhyObject {
        let obj = new PhyObject()
        obj._type = type
        return obj
    }
    private _type: PhyObjectType
    public get Type(): PhyObjectType {
        return this._type
    }
}